package cn.stronglink.asset.module.assetmanage.instock.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import cn.stronglink.asset.model.Preset;

public interface PresetMapper {
	
	public List<Preset> queryList(Pagination page,@Param("params")Map<String, Object> params);
	
	public void removePreset(@Param("id")Long id);

	public void insertPreset(Preset preset);

	public void updatePreset(Preset preset);

	public Preset qryById(@Param("id") Long id);

	public int qryPresetCount();

	public List<Preset> qryCheckList(@Param("userId") Long userId);

	public List<Preset> getPresetList();
}
